package com.kobeliu.service.impl;

import com.kobeliu.mapper.StuMapper;
import com.kobeliu.pojo.Stu;
import com.kobeliu.service.StuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StuServiceImpl implements StuService {

    @Autowired
    private StuMapper stuMapper;

    @Override
    public int get(Stu stu) {
        return stuMapper.insert(stu);
    }
}
